<script setup lang="ts">
defineProps<{
  title: string
}>()
</script>

<template>
  <view class="rounded-20rpx bg-white px-32rpx py-34rpx">
    <view class="h-30rpx flex items-center justify-between overflow-visible">
      <view class="text-30rpx text-#333333 font-bold leading-30rpx">
        {{ title }}
      </view>
      <slot name="headerTrailing" />
    </view>
    <Spacer height="30" />
    <Divider width="642" color="#EBEBEB" />
    <Spacer height="30" />
    <slot />
  </view>
</template>
